package com.boot;

public class TestClassLoaderMain {

	public static void main(String[] args) throws Exception {
		
		MyClassLoader loader = new MyClassLoader("loader");
		loader.setPath("e://tmp//");
		Class<?> clazz = loader.loadClass("com.boot.Simple");
		Object obj = clazz.newInstance();
		
		System.out.println(obj.toString());
	}

}
